package day04;

/**
 While循环
 */
public class WhileDemo {
    public static void main(String[] args) {
        int time =0;
        while (time <5){
            System.out.println("玛卡巴卡");
            time++;
        }
        /**
         *             time=0
         * true shuchu time=1
         * true shuchu time=2
         * true shuchu time=3
         * true shuchu time=4
         * true shuchu time=5
         * false
         * **/

        int unm=1;
        while (unm<=9){
            System.out.println(unm+"*9="+unm*9);
            unm++;
        }
        /**
         * unm=1
         * true shuchu time=2
         * true shuchu time=3
         * true shuchu time=4
         * true shuchu time=5
         * true shuchu time=6
         * true shuchu time=7
         * true shuchu time=8
         * true shuchu time=9
         * true shuchu time=10
         * false
         * **/
    }
}
